import junit.framework.TestCase;

public class TestInventoryQuantity extends TestCase {
	public void testgetQuantityOfItem(){
		InventoryModel imodel = new InventoryModel();
		InventoryController ic = new InventoryController(imodel);
		Item items = new Item("Gas", 1);
		int expectedResults = 1;
		Item items2 = new Item("Food",0 );
		
		assertEquals(expectedResults,ic.getQuantityOfItem("Gas"));
		assertEquals(0, ic.getQuantityOfItem("Food"));
	}
}
